Woocommerce\Pagarme\Model\Gateway S

Total Complexity 42
Dependencies 9
Dependents 12
Total lines 295
Lines of code 188
Logical lines of code 82
Comment lines 36
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
render_installments_options()
A
48 8 34
getPayments()
S
59 4 14
_calc_installments_2()
S
59 3 13
is_sandbox_mode()
S
69 3 6
verifyInterest()
S
71 3 6
getPaymentInstace()
S
64 3 9
get_installment_options()
S
52 1 28
__construct()
S
72 2 6
autoLoad()
S
73 2 5
get_hub_url()
S
73 2 5
getConfigDataProvider()
S
67 2 8
get_hub_button_text()
S
72 2 5
get_installments_by_type()
S
59 1 13
get_hub_integrate_url()
S
63 1 12
get_hub_app_id()
S
81 1 3
get_hub_view_integration_url()
S
71 1 7
get_hub_install_token()
S
69 1 7
supported_currency()
S
80 1 3
_calc_installments_1()
S
74 1 4